<!--{assign var="menu_id" value="profile"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}--> 
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<!--{include file="<!--{$oetplpath}-->block_banner.tpl"}-->
<script src="<!--{$userskin}-->js/profile.js"></script>
<div class="oe_inmain"> 
  <!--{include file="<!--{$oetplpath}-->block_left.tpl"}-->
  <div class="right">
    <div class="oe_ufriend">
      <div class="oe_unav">编辑资料</div>
	  <!--{include file="<!--{$oetplpath}-->profile_top.tpl"}-->
      <div class="oe_utitle">
        <ul>
          <li><a href="<!--{$oefile}-->&c=<!--{$c}-->">基本资料</a></li>
		  <li><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=life">个人&家庭</a></li>
		  <li><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=guihua">爱情规划</a></li>
		  <li><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=intro" class="current">内心独白</a></li>
		  <li><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=cond">择偶条件</a></li>
		  <li><a href="<!--{$oefile}-->&c=rz">联系方式</a></li>
        </ul>
        <div class="clear"></div>
      </div>

      <div class="profile_list">
	    
		<form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
		<input type="hidden" name="a" id="a" value="saveintro" />
        <div class="bd" style="margin-top:20px;">
          
          <dl style="margin-bottom:0px;">
            <dt></dt>
            <dd>
              <!--{if $login.info.introflag=='1'}-->
              <p style="color:green;">审核通过</p>
              <!--{elseif $login.info.introflag=='3'}-->
			  <p style="color:red;">审核未通过</p>
			  <!--{else}-->
              <p style="color:gray;">待审核</p>
              <!--{/if}-->
            </dd>
          </dl>
          
          <dl class="intro">
            <dt>内心独白：</dt>
            <dd>
              <textarea name="content" id="monolog_content" style="width:75%;height:150px;" onkeydown="_countTextSize('monolog_content', 'tips_num');" onkeyup="_countTextSize('monolog_content', 'tips_num');"><!--{$login.info.intro}--></textarea>
              <p class="p_1"><span><i id="tips_num">0</i>/200</span></p>
              <label class="help" f="but_helpme_write">帮我写</label>
            </dd>
          </dl>
		  <dl class="btn">
			<dt></dt>
			<dd><label f="but_save">保存</label></dd>
		  </dl>
        </div>
		<!--//bd End-->
		</form>

      </div>
	  <!--//profile_list End-->
      
    </div>
  </div>
  <div class="clear"></div>
</div>
<script type="text/javascript">
$(function(){
	//统计字数
	_countTextSize("monolog_content", "tips_num");

	//保存
	$("[f='but_save']").bind("click", function(){
		$_content = $("#monolog_content").val();
		if ($_content.length == 0) {
			ToastShow("请填写内心独白");
			return false;
		}
		$("#myform").submit();
	});

});
</script>

<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}-->
</body>
</html>